import request from '@/utils/request.js'
const PATH = '/user/examDetail'

// 获取用户考试详情
export const getExamDetail = ({ page, pageSize }) => {
  return request.get(PATH + '/page', {
    params: {
      page,
      pageSize
    }
  })
}

// 获取用户考试记录详情
export const getExamRecordDetail = ({ page, pageSize, examId }) => {
  return request.get(PATH + '/detail/page', {
    params: {
      page,
      pageSize,
      examId
    }
  })
}
